package com.youway.ddd.demo2.domain.repository;

import com.youway.ddd.base.BaseRepository;
import com.youway.ddd.demo2.domain.entity.Book;
import com.youway.ddd.demo2.domain.entity.Bookshelf;
import com.youway.ddd.demo2.domain.entity.BookshelfSpace;

public interface BookshelfSpaceRepository extends BaseRepository<BookshelfSpace, Long>{
	BookshelfSpace findByBookshelfAndBook(Bookshelf bookshelf, Book book);
}
